<h1>Editar Carreta</h1>

<form action="<?=$this->url(array("module"=>"admin","controller"=>"carreta","action"=>"update"),null,true)?>"  method="post">
	<input type="hidden" name="id_carreta" value="<?=$this->carreta['id_carreta']?>" />

	<fieldset>	
		<legend>Editar Carreta</legend>
		<p>
			<label>Placa:</label><br>
			<input type="text" name="placa" value="<?=$this->carreta['placa']?>" />
		</p> 
		
		<p>
			<label>Cidade:</label><br>
			<input type="text" name="cidade" value="<?=$this->carreta['cidade']?>" />
		</p>
		
		<p>
			<label>Estado:</label><br>
			<input type="text" name="estado" value="<?=$this->carreta['estado']?>" />
		</p>
		
		<p>
			<label>Modelo:</label><br>
			<input type="text" name="modelo" value="<?=$this->carreta['modelo']?>" />
		</p>
	
		<p>
			<label>Ano:</label><br>
			<input type="text" name="ano_fab" value="<?=$this->carreta['ano_fab']?>" />
		</p>
		
		<p>
			<label>Tipo:</label><br>
			<input type="text" name="tipo" value="<?=$this->carreta['tipo']?>" />
		</p>	
	    
	    <p>
			<label>Cor:</label><br>
			<input type="text" name="cor" value="<?=$this->carreta['cor']?>" />
		</p>
		
		<p>
			<label>Chassi:</label><br>
			<input type="text" name="chassi" value="<?=$this->carreta['chassi']?>" />
		</p>
		
		<p>
			<label>Renavam:</label><br>
			<input type="text" name="renavam" value="<?=$this->carreta['renavam']?>" />
		</p>
	
		<p>
			<label>RNTRC:</label><br>
			<input type="text" name="rntrc" value="<?=$this->carreta['rntrc']?>" />
		</p>
		
		<p>
			<label>ANTT:</label><br>
			<input type="text" name="antt" value="<?=$this->carreta['antt']?>" />
		</p>
    
	</fieldset>
	<a href="<?=$this->url(array("module"=>"admin","controller"=>"carreta"),null,true)?>">
		<div class="cancelar">Cancelar</div>
   	</a>
   	<input type="submit" value="Enviar" class="submit" />
</form>